:bug: Fix Bug: maximum recursion depth exceeded while calling a Python object

huangqimin 5 年之前
父节点
当前提交
b043b0ecf6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      coupon/models.py

+ 1 - 1
coupon/models.py

@@ -73,7 +73,7 @@ class UserCouponInfo(BaseModelMixin):
73 73
         return unicode(self.pk)
74 74
 
75 75
     @property
76
-    def coupon_image(self):
76
+    def coupon_image_path(self):
77 77
         return upload_file_path(self.coupon_image)
78 78
 
79 79
     @property